figment of (one's) imagination

Translations
вымысел (чьего-то) воображения
The unicorns in the story were just a figment of the author's imagination.
Единороги в рассказе были всего лишь вымыслом воображения автора.
Definitions
A figment of (one's) imagination refers to something that someone believes or perceives, but which does not actually exist; it is a creation of the mind, often imaginary or unreal.
Words
figment

noun
вымысел
imagination

noun
воображение